package top.wilsonlv.jaguar.cloud.upms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import top.wilsonlv.jaguar.basecrud.BaseModel;
import top.wilsonlv.jaguar.cloud.upms.sdk.enums.ClientType;


/**
 * <p>
 * 终端设备
 * </p>
 *
 * @author lvws
 * @since 2022-01-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("jaguar_cloud_upms_device")
public class Device extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 名称
     */
    @TableField("device_name")
    private String deviceName;

    /**
     * 设备UID
     */
    @TableField("device_uid")
    private String deviceUid;

    /**
     * 类型
     */
    @TableField("device_type")
    private ClientType deviceType;

    /**
     * 型号
     */
    @TableField("device_model")
    private String deviceModel;

    /**
     * 系统版本
     */
    @TableField("device_sys_version")
    private String deviceSysVersion;

    /**
     * 客户端版本
     */
    @TableField("device_client_version")
    private String deviceClientVersion;

    /**
     * IP
     */
    @TableField("device_ip")
    private String deviceIp;

    /**
     * 公钥
     */
    @TableField("device_public_key")
    private String devicePublicKey;

}